/*
 * 通用
 */

/* 链接 */
a,
a:focus,
a:hover {
    color: black;
}

/*字体*/
.heading {
    color: black;
}

label {
    color: black;
}

/* 通常按钮 */
.btn-default,
.btn-default:hover,
.btn-default:focus {
    color: #333;
    text-shadow: none;
    background-image: none;
    border: 1px solid black;
}


/*
 * 框架
 */

html,
body {
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #eee;
    height: 100%;
    background-image: url("../image/background.png");
}

body {
    color: #fff;
    vertical-align: center;
    text-align: center;
}


.signin {
    max-width: 330px;
    padding: 15px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);
}

.signin .form-control {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: auto;
    padding: 10px;
    font-size: 16px;
}

.signin .form-control:focus {
    z-index: 2;
}

.signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* 固定 */
.site-wrapper {
    display: table;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.site-wrapper-inner {
    display: table-cell;
    vertical-align: top;
}

.container {
    vertical-align: center;
    margin-right: auto;
    margin-left: auto;
}

/* 边距 */
.inner {
    padding: 30px;
}


/*
 * 自适应页面
 */

@media (min-width: 768px) {
    .masthead {
        position: fixed;
        top: 0;
    }

    .mastfoot {
        position: fixed;
        bottom: 0;
    }

    .site-wrapper-inner {
        vertical-align: middle;
    }

    .masthead,
    .mastfoot,
    .cover-container {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 700px;
    }
}